package com.mzjf.boot.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

@JsonIgnoreProperties(ignoreUnknown = true)//将这个注解写在类上之后，就会忽略类中不存在的字段，可以满足当前的需要
@ApiModel
public class Sysuser implements Serializable {
    @ApiModelProperty(value = "id")//required–是否必填   @ApiModelProperty(value="状态",name="state",required=true)
    @JsonProperty
    private Integer id;

    @ApiModelProperty(value = "删除标记")
    @JsonProperty //@JsonProperty 此注解用于属性上，作用是把该属性的名称序列化为另外一个名称，如把trueName属性序列化为name，@JsonProperty("name")。
    private Boolean disabled;

    private String uuid;

    private Integer createuser;

    private Date createtime;

    private Integer updateuser;

    private Date updatetime;

    private String remark;

    private Integer orderby;

    private String username;

    private String password;

    private String realname;

    private String mobile;

    private String qq;

    private String wechat;

    private String email;

    private String ipaddress;

    private Date lastlogintime;

    private Integer status;

    private Integer third;

    private Integer collectionrate;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Boolean getDisabled() {
        return disabled;
    }

    public void setDisabled(Boolean disabled) {
        this.disabled = disabled;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public Integer getCreateuser() {
        return createuser;
    }

    public void setCreateuser(Integer createuser) {
        this.createuser = createuser;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getUpdateuser() {
        return updateuser;
    }

    public void setUpdateuser(Integer updateuser) {
        this.updateuser = updateuser;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getOrderby() {
        return orderby;
    }

    public void setOrderby(Integer orderby) {
        this.orderby = orderby;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getWechat() {
        return wechat;
    }

    public void setWechat(String wechat) {
        this.wechat = wechat;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getIpaddress() {
        return ipaddress;
    }

    public void setIpaddress(String ipaddress) {
        this.ipaddress = ipaddress;
    }

    public Date getLastlogintime() {
        return lastlogintime;
    }

    public void setLastlogintime(Date lastlogintime) {
        this.lastlogintime = lastlogintime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getThird() {
        return third;
    }

    public void setThird(Integer third) {
        this.third = third;
    }

    public Integer getCollectionrate() {
        return collectionrate;
    }

    public void setCollectionrate(Integer collectionrate) {
        this.collectionrate = collectionrate;
    }

    @Override
    public String toString() {
        return "Sysuser{" +
                "id=" + id +
                ", disabled=" + disabled +
                ", uuid='" + uuid + '\'' +
                ", createuser=" + createuser +
                ", createtime=" + createtime +
                ", updateuser=" + updateuser +
                ", updatetime=" + updatetime +
                ", remark='" + remark + '\'' +
                ", orderby=" + orderby +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", realname='" + realname + '\'' +
                ", mobile='" + mobile + '\'' +
                ", qq='" + qq + '\'' +
                ", wechat='" + wechat + '\'' +
                ", email='" + email + '\'' +
                ", ipaddress='" + ipaddress + '\'' +
                ", lastlogintime=" + lastlogintime +
                ", status=" + status +
                ", third=" + third +
                ", collectionrate=" + collectionrate +
                '}';
    }
}